﻿using Leafing.Data.Definition;

namespace DBEntryHelper
{
	[Serializable]
	[DbTable("dc_task")]
	public class DC_TASK : IDbObject
	{
		public string Task_No { get; set; }
		[AllowNull][Length(7)] public string? Receipt_No { get; set; }
		public int? Task_Type { get; set; }
		public int? Task_State { get; set; }
		public int? Delay { get; set; }
		public DateTime? Finish_Time { get; set; }
		public int? Elapsed_Time { get; set; }
		[AllowNull][Length(3)] public string? Storage_Code { get; set; }
		[AllowNull][Length(7)] public string? Storage_Name { get; set; }
		[AllowNull][Length(3)] public string? Bin_No { get; set; }
		public int? Bin_Column { get; set; }
		public int? Bin_Layer { get; set; }
		public int? Bin_Row { get; set; }
		[AllowNull][Length(7)] public string? Mat_Code { get; set; }
		[AllowNull][Length(15)] public string? Mat_Name { get; set; }
		[AllowNull][Length(7)] public string? Lot_Id { get; set; }
		[AllowNull][Length(7)] public string? Tray_Code { get; set; }
		public System.Decimal? Quantity { get; set; }
		[AllowNull][Length(10)] public string? Specs { get; set; }
		[AllowNull][Length(10)] public string? Model { get; set; }
		[AllowNull][Length(5)] public string? Unit { get; set; }
		[Length(10)] public string? FromId { get; set; }
		public DateTime? CreationTime { get; set; }
		public DateTime? LastModificationTime { get; set; }
	}

}
